<template>
  <div class="shop">
      <div class="left"></div>
      <div class="right">
        <router-view></router-view>
      </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  login(){
      this.$router.push("/shop")
  }
}
</script>
<style scoped>
  .left{
    width: 200px;
    background-color: red;
    height: 100%;
  }
  .right{
    float: left;
  }
  .shop{
    display: flex;
    flex-direction: row;
  }
</style>
